package com.leyou.lock;

/**
 * 分布式锁接口
 */
public interface RedisLock {

    //获取锁
    public boolean lock(long locktime);
    //释放锁
    public void unlock();

}